﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZFine.Domain.Entity.Gas
{
    public class FaceRecordEntity : IEntity<FaceRecordEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        /// <summary>
        /// 居民Id
        /// </summary>
        public string ResidentId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string RName { get; set; }
        /// <summary>
        /// 居民身份证号
        /// </summary>
        public string IDNumber { get; set; }
        /// <summary>
        /// 识别年度
        /// </summary>
        public int Year { get; set; }
        /// <summary>
        /// 识别月份
        /// </summary>
        public int Month { get; set; }
        /// <summary>
        /// 识别日
        /// </summary>
        public int Day { get; set; }
        /// <summary>
        /// 识别时间
        /// </summary>
        public DateTime RecordTime { get; set; }
        /// <summary>
        /// 人脸数据 目前存储的是地址
        /// </summary>
        public string FaceData { get; set; }
        /// <summary>
        /// 满意度
        /// </summary>
        public string Satisfaction { get; set; }
        /// <summary>
        /// 匹配结果 成功匹配、未找到消费记录
        /// </summary>
        public string Result  { get; set; }
        /// <summary>
        /// 就餐记录（餐厅刷卡记录）
        /// </summary>
        public string DiningRecordId { get; set; }



        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        public bool? F_DeleteMark { get; set; }
        public string F_DeleteUserId { get; set; }
        public DateTime? F_DeleteTime { get; set; }
        public DateTime? F_LastModifyTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        [NotMapped]
        public string Telephone { get; set; }
        [NotMapped]
        public string Telephone2 { get; set; }
        [NotMapped]
        public string FaceRecordCount { get; set; }
    }
}
